package com.jzl.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zwwang
 */
@Data
public class ResponseVo<T> implements Serializable
{
    /**
     * 应答状态
     */
    @JSONField(name = "code")
    private int code;

    /**
     * 错误消息，如无错，则为null
     */
    @JSONField(name = "message")
    private String message;

    /**
     * 应答内容
     */
    @JSONField(name = "data")
    private T data;
}